//
//  ServiceViewController.m
//  somenew
//
//  Created by Koby5 on 12/19/12.
//  Copyright (c) 2012 Koby5. All rights reserved.
//

#import "ServiceViewController.h"
#import "ServiceModel.h"

@implementation ServiceViewController

@synthesize NewsTable;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [ super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if(self)
    {
        self.title = NSLocalizedString(@"Service", @"Service");
        self.tabBarItem.image = [UIImage imageNamed:@"img3"];        
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [ServiceModel sharedServiceModel].delegate = self;
    [[ServiceModel sharedServiceModel] loadRssData];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
}

- (void)dealloc
{
    [NewsTable release];
    [super dealloc];
}
- (void)viewDidUnload
{
    [super viewDidUnload];
}
@end